import { PatientITF } from '@INTERFACES/Patient'

export interface CustomNameITF {
  zh: string,
  en: string,
}

export interface DiagnosisITF {
  TagId: string,
  TagName: CustomNameITF,
  TagType: string,
}

export interface MedicinesITF {
  Days: number,
  Dosage: number,
  DosageUnit: string,
  DrugId: string,
  Frequency: string,
  MedicineName: CustomNameITF,
  Method: string,
  PackUnit: string,
  Specification: string,
  Total: number,
  _id: string,
}

export interface PharmacistOrPhysicianITF {
  PharmName?: string,
  DisplayName?: CustomNameITF,
  SignatureId: string,
  UserId: string,
}

export interface PrescriptionITF {
  AuditDate: number,
  CreatedDate: number,
  Diagnosis: DiagnosisITF[],
  Medicines: MedicinesITF[],
  Patient: PatientITF[],
  Pharmacist: PharmacistOrPhysicianITF[],
  Physician: PharmacistOrPhysicianITF[],
  PrescriptionId: string,
  SerialNumber: string,
  Status: string,
  Supplement: string,
}
